package model.tokens;

import java.util.Stack;

import state.TabState;

import model.expression.AbstractExpression;
import model.expression.operator.LeftBracExpression;
import model.expression.operator.RightBracExpression;
import model.parser.ParsingData;

import expression.Expression;

public class RightBrac extends AbstractToken {

	public RightBrac(String value, ParsingData parsingData) {
	}

	@Override
	public void convertToPostFix(Stack<AbstractToken> opStack,
			Stack<AbstractExpression> outStack,TabState ts,Stack<AbstractExpression> out) {
		outStack.push(new RightBracExpression(null));
	}
	
	/*
	public void makeExpression(Stack<AbstractExpression> outStack) {

		AbstractExpression newExpr = new LeftBracExpression(null);
		outStack.push(newExpr);
	}
	 */
}
